package com.china08.yxyapi.repository.db;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.meeting.VideoMeetingUser;

public interface VideoMeetingUserRepository extends JpaRepository<VideoMeetingUser, String> {

    List<VideoMeetingUser> findByMeetingIdOrderByUserType(String meetingId);

    Integer countByMeetingIdAndUserIdIn(String meetingId, List<String> userIds);
}
